package com.yunhe.java.Day14.pro1.control;
import com.yunhe.java.Day14.pro1.model.User;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/8 0008.
 */
public class UserController {
    private static Map<String,User> tuser=new HashMap<>();
    private static Map<String,User> auser=new HashMap<>();
    static {
        tuser.put("techer",new User("01","techer","赵飞燕","333",User.TYPE_CH));
        auser.put("admin",new User("02","admin","赵云","333",User.TYPE_AD));
    }



    public static Map<String, User> getTuser() {
        return tuser;
    }
    public static void setTuser(Map<String, User> tuser) {
        UserController.tuser = tuser;
    }
    public static Map<String, User> getAuser() {
        return auser;
    }
    public static void setAuser(Map<String, User> auser) {
        UserController.auser = auser;
    }
}
